<?php
namespace app\index\model;

use think\Model;
use think\DB;

class Carousel extends Model
{
    //获取轮播图
    public function getCarouselFigure(){
        return DB::name('carousel')->select();

    }
}